from flask import Flask, Blueprint
from apps.views.demo.test import bp as test_bp
# 创建demo
demo_bp = Blueprint('demo', __name__, url_prefix='/demo')

def register_demo_bps(app: Flask):
    demo_bp.register_blueprint(test_bp)
    app.register_blueprint(demo_bp)